import { _decorator, Component, Mask } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('maskManager')
export class maskManager extends Component {
    @property({type: Mask})
    mask: Mask = null;
    start() {
        console.log(this.mask);
        // this.mask.node.getComponent(Mask).type = Mask.Type.GRAPHICS_ELLIPSE;
        // this.mask.node.getComponent(Mask).segments = 64;
    }

    update(deltaTime: number) {
        
    }
}


